package com.xinjian.jianba.service;

import java.io.IOException;
import java.util.List;

import com.xinjian.jianba.dto.ActivityFindOneDto;
import com.xinjian.jianba.dto.ActivityPersonIndexVo;
import com.xinjian.jianba.dto.ActivityWorkDto;
import com.xinjian.jianba.dto.AllRankDto;
import com.xinjian.jianba.dto.AllRankVo;
import com.xinjian.jianba.dto.TicketsDto;
import com.xinjian.jianba.dto.UserActivityDto;
import com.xinjian.jianba.enity.AcwardsEntity;
import com.xinjian.jianba.enity.AllRankEntity;

public interface TicketsService {

	public int vote(TicketsDto ticketsDto);
	
	public Long join(UserActivityDto userActivityDto)throws IOException;
	
	public int editor(UserActivityDto userActivityDto)throws IOException;
	
	public int workUp(ActivityWorkDto activityWorkDto);
	
	public ActivityPersonIndexVo getPersonIndex(String registerId);
	
	public AllRankVo allRank(AllRankDto allRankDto);
	
	public AllRankEntity findOne(ActivityFindOneDto activityFindOneDto);
	
	public int delWork(Long workId);
	
	public List<AcwardsEntity> award();
}
